$OpenBSD: patch-protocols_wlm_CMakeLists_txt,v 1.2 2014/07/09 20:03:27 zhuk Exp $
Rework oRTP library detection.
--- protocols/wlm/CMakeLists.txt.orig	Thu Apr 17 11:51:13 2014
+++ protocols/wlm/CMakeLists.txt	Fri Jun 27 18:45:14 2014
@@ -53,8 +53,8 @@ set(kopete_wlm_link_LIBS
 )
 
 if(BUILD_WLM_MEDIASTREAMER)
-    set(kopete_wlm_link_LIBS ${kopete_wlm_link_LIBS} ${MEDIASTREAMER_LIBRARIES} ${LIBORTP_LIBRARY})
-    set(kopete_wlm_include_DIRS ${kopete_wlm_include_DIRS} ${MEDIASTREAMER_INCLUDE_DIR})
+    set(kopete_wlm_link_LIBS ${kopete_wlm_link_LIBS} ${MEDIASTREAMER_LIBRARIES} ${LIBORTP_LIBRARIES})
+    set(kopete_wlm_include_DIRS ${kopete_wlm_include_DIRS} ${MEDIASTREAMER_INCLUDE_DIR} ${LIBORTP_INCLUDE_DIRS})
     add_definitions(-DHAVE_MEDIASTREAMER)
 endif(BUILD_WLM_MEDIASTREAMER)
 
